package com.yt.product.models.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
import java.io.Serializable;

/**
 * 供应商详情VO
 *
 * @author chen
 * @Date 2025-09-04 15:32:16
 */
@Data
public class SupplierInfoVO implements Serializable {
    @ApiModelProperty(value = "供应商ID")
    private Long id;
    @ApiModelProperty(value = "数据版本号（乐观锁控制）")
    private Integer revision;
    @ApiModelProperty(value = "供应商名称")
    private String supplierName;
    @ApiModelProperty(value = "供应商联系电话")
    private String phone;
    @ApiModelProperty(value = "供应商地址")
    private String address;
    @ApiModelProperty(value = "供应商状态：0-合作终止，1-正常合作")
    private Integer status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
